package com.xy.biz.ts.domain.req;

import com.xy.biz.ts.domain.bo.TrainFlowConstants;
import com.xy.lang.validation.annotation.AlertMessage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@ApiModel("新增培训流程处理请求")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class HandleTrainSumReleaseFlowRequest {

    /**
     * 流程Id
     */
    @ApiModelProperty("培训总结Id")
    @NotNull
    private Long trainSumId;
    /**
     * 处理意见
     */
    @ApiModelProperty("处理意见")
    private String opinion;
    /**
     * 处理结果
     */
    @ApiModelProperty("处理结果")
    private Integer result;

    /**
     * 处理节点
     */
    @ApiModelProperty("处理节点")
    private String phase = TrainFlowConstants.PHASE_RELEASE;

}
